<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./jQuery.js"></script>
</head>
<body>
  
</body>
<script>
  $(function(){
  //请求参数
  var list = {};
  //
  $.ajax({
      //请求地址
      url : "https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata",
      //数据，json字符串
      //请求成功
      success : function(result) {
          console.log(result);
      },
  });
});
</script>
</html>